projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f89505
)
treeview: Fix computing child paths
author
Benjamin Otte
<otte@redhat.com>
Mon, 1 Oct 2012 09:48:50 +0000
(11:48 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 1 Oct 2012 09:48:50 +0000
(11:48 +0200)
We were adding the GtkButton class twice.
gtk/gtktreeview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktreeview.c
b/gtk/gtktreeview.c
index 8217eb7bd3894ef5d04f726113cd744d2bcca00e..0b1599ee3721e13f9338f33cc74a6c5d7115f6e7 100644
(file)
--- a/
gtk/gtktreeview.c
+++ b/
gtk/gtktreeview.c
@@
-8548,13
+8548,11
@@
gtk_tree_view_get_path_for_child (GtkContainer *container,
if (!list->next)
flags |= GTK_REGION_LAST;
- gtk_widget_path_iter_add_region (path,
-1
, GTK_STYLE_REGION_COLUMN_HEADER, flags);
+ gtk_widget_path_iter_add_region (path,
gtk_widget_path_length (path) - 2
, GTK_STYLE_REGION_COLUMN_HEADER, flags);
break;
}
g_list_free (visible_columns);
- gtk_widget_path_append_for_widget (path, child);
-
return path;
}